package com.fdb.smcts.core.exception;

/**
 * 队列中挂起异常
 * 
 * @author huangwb
 * @since 2019年1月2日 下午2:39:18
 * @version 1.0
 */
public class HangException extends Exception {

	private static final long serialVersionUID = -8874369201368249867L;
	public static final String MESSAGE = "应用系统挂起异常";

	private String errorCode;

	public HangException() {
		super(MESSAGE);
	}

	public HangException(String message) {
		super(message);
	}

	public HangException(String errorCode, String message) {
		super(message);
		this.errorCode = errorCode;
	}

	public HangException(String message, Throwable cause) {
		super(message, cause);
	}

	public HangException(String errorCode, String message, Throwable cause) {
		super(message, cause);
		this.errorCode = errorCode;
	}

	public HangException(Throwable cause) {
		super(cause);
	}

	public String getErrorCode() {
		return errorCode;
	}
}
